﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Statistics.aspx.cs" Inherits="WebAccess.Statistics" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>
    <asp:RadioButtonList ID="RadioButtonList1" runat="server">
        <asp:ListItem>Light</asp:ListItem>
        <asp:ListItem>Temperature</asp:ListItem>
    </asp:RadioButtonList>
    
   <asp:Accordion ID = "Accordion" runat = "server"
   CssClass = "accordion"
   HeaderCssClass = "accordionHeader"
   HeaderSelectedCssClass="accordionHeaderSelected"
   ContentCssClass = "accordionContent" Width="70%"
   >
    <Panes>
    
    <asp:AccordionPane runat = "server" ID = "panel1">
    <Header>
    Select your Sensors
    </Header>
    <Content>
    <asp:TreeView  ID = "Sensors" runat ="server" 
        onselectednodechanged="Sensors_SelectedNodeChanged" 
        ontreenodecheckchanged="Sensors_TreeNodeCheckChanged"
        
         ShowLines="True">

</asp:TreeView>
    </Content>
    
    </asp:AccordionPane>
    <asp:AccordionPane runat = "server" ID = "Panel2" Visible = "true">
    <Header>
    Choose your Operation
    </Header>
    <Content>
    <asp:DropDownList ID="Operation" runat="server">
    
    </asp:DropDownList>
    
    </Content>
     
    </asp:AccordionPane>
    
    
    <asp:AccordionPane runat ="server" ID = "Rank" Visible = "false">
    
    <Header>
    Input Based Descriptive Functions
    </Header>
    <Content>
    <table style="width:100%;">
    <tr>
    <td>
    Enter Your Choice: 
    </td>
    <td>
    <asp:DropDownList ID="ChoiceDesc" runat="server">
    
    </asp:DropDownList>
    
    </td>
    
    </tr>
        <tr>
            <td>
                Enter The value</td>
            <td>
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            </td>
            </tr>
        <tr>
            <td>
                Result</td>
            <td>
                <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="Button2" runat="server" Text="Calculate" />
            </td>
            <td>
                &nbsp;</td>

        </tr>
    </table>
 
    </Content>
    </asp:AccordionPane>

    <asp:AccordionPane runat ="server" ID = "Descriptive" Visible = "false">
        <Header>
           Descriptive Statistics
        </Header>
    <Content>
    <table style="width:100%;">
   
   <tr>
   <td>
   Select Operation
   </td>
   <td>
   
    <asp:DropDownList ID="OpDesc" runat="server">
    
    </asp:DropDownList>
    
   </td>
   </tr>
   <tr>
            <td>
                Result</td>
            <td>
                <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="Button3" runat="server" Text="Calculate" />
            </td>
        
   </table>
    </Content>
    </asp:AccordionPane>
  <asp:AccordionPane runat ="server" ID = "Probability" Visible = "false">
        <Header>
           Probability Based Prediction
        </Header>
    <Content>
    <table style="width:100%;">
   
   <tr>
   <td>
   Select Distribution
   </td>
   <td>
   
    <asp:DropDownList ID="PredictDist" runat="server">
    
    </asp:DropDownList>
    
   </td>
   </tr>
 <tr>
 <td>
 Enter Value to get Probability
 </td>
 <td>
 
 <asp:TextBox ID="Rvalue" runat="server"></asp:TextBox>
 </td>
 </tr>
 
   <tr>
            <td>
                Result</td>
            <td>
                <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="Button4" runat="server" Text="Calculate" />
            </td>
        
   </table>
    </Content>
    </asp:AccordionPane>
      <asp:AccordionPane runat ="server" ID = "TTest" Visible = "true">
        <Header>
           Student T Test Based Outlier Detection
        </Header>
    <Content>
    <table style="width:100%;">
   
   <tr>
   <td>
   Please enter confidence interval
   </td>
   <td>
   
                <asp:TextBox ID="confidence" runat="server"></asp:TextBox>
   </td>
   </tr>
 
   <tr>
            <td>
                Result</td>
            <td>
                <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="Button1" runat="server" Text="Calculate" />
            </td>
        
   </table>
    </Content>
    </asp:AccordionPane>

    </Panes>
    </asp:Accordion>
       

</asp:Content>
